#include<stdio.h>
 
typedef struct complex{
	float re;
	float im;
}Complex;

Complex set(float r,float i){
	struct complex t;
	t.re = r;
	t.im = i;
	return t;
}

Complex add(Complex a,Complex b){
	struct complex c;
	c.re =a.re + b.re;
	c.im =a.im +b.im;
	return c;
}

int main(){
	complex x,y,z;
	x = set(1,4);
	y = set(2,5);
	z = add(x,y);
	printf("z=%1f+%1f \n",z.re,z.im);
	return 0;
}
